YandexCheckout\Client\CurlClient S

Total Complexity 48
Dependencies 8
Dependents 1
Total lines 385
Lines of code 181
Logical lines of code 118
Comment lines 115
Methods 21
Properties 10

Methods 21

Method Rating Maintainability Complexity Lines of code
call()
A
41 12 55
setBody()
A
50 8 32
handleCurlError()
S
57 6 17
initCurl()
S
71 3 6
sendRequest()
S
60 2 13
closeCurlConnection()
S
74 2 5
setLogger()
S
81 1 3
setProxy()
S
81 1 3
setKeepAlive()
S
77 1 4
getUrl()
S
76 1 4
setConfig()
S
81 1 3
getConfig()
S
82 1 3
setTimeout()
S
81 1 3
getProxy()
S
82 1 3
setConnectionTimeout()
S
81 1 3
getConnectionTimeout()
S
82 1 3
getTimeout()
S
82 1 3
setShopPassword()
S
77 1 4
setShopId()
S
77 1 4
setCurlOption()
S
79 1 3
prepareHeaders()
S
68 1 7